package vo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

@Entity
@NamedQueries({ 
	@NamedQuery(name = "UserGroup.findAll", query = "select e from UserGroup e"),
	@NamedQuery(name = "UserGroup.findByName", query = "select e from UserGroup e where e.name=?")})
@Table(name = "user_groups")
public class UserGroup extends BaseEntity {

	
	@Column(name = "name")
	private String name;
	

	@Column(name = "role")
	private String role;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

}
